package com.baidu.mapapi;

import java.util.ArrayList;

public class MKTransitRoutePlan
{
  private int a;
  private String b;
  private ArrayList<MKRoute> c;
  private ArrayList<MKLine> d;
  private GeoPoint e;
  private GeoPoint f;

  void a(int paramInt)
  {
    this.a = paramInt;
  }

  void a(GeoPoint paramGeoPoint)
  {
    this.e = paramGeoPoint;
  }

  void a(ArrayList<MKRoute> paramArrayList)
  {
    this.c = paramArrayList;
  }

  void b(GeoPoint paramGeoPoint)
  {
    this.f = paramGeoPoint;
  }

  public String getContent()
  {
    return this.b;
  }

  public int getDistance()
  {
    return this.a;
  }

  public GeoPoint getEnd()
  {
    return this.f;
  }

  public MKLine getLine(int paramInt)
  {
    MKLine localMKLine;
    if (this.d != null)
      localMKLine = (MKLine)this.d.get(paramInt);
    while (true)
    {
      return localMKLine;
      localMKLine = null;
    }
  }

  public int getNumLines()
  {
    int i;
    if (this.d != null)
      i = this.d.size();
    while (true)
    {
      return i;
      i = 0;
    }
  }

  public int getNumRoute()
  {
    int i;
    if (this.c != null)
      i = this.c.size();
    while (true)
    {
      return i;
      i = 0;
    }
  }

  public MKRoute getRoute(int paramInt)
  {
    MKRoute localMKRoute;
    if (this.c != null)
      localMKRoute = (MKRoute)this.c.get(paramInt);
    while (true)
    {
      return localMKRoute;
      localMKRoute = null;
    }
  }

  public GeoPoint getStart()
  {
    return this.e;
  }

  public void setLine(ArrayList<MKLine> paramArrayList)
  {
    this.d = paramArrayList;
  }
}